import { IUI } from "leafer-ui";
import { Props } from "./props";
import { Tank } from "./tank";

export class TankProps extends Props {
  constructor({ x, y, targter }: { x: number; y: number; targter: IUI }) {
    super({
      x,
      y,
      width: 30,
      height: 30,
      isRadiusPoint: true,
      targter,
    });
  }

  effect(tank: Tank) {
    throw new Error("未重写TankProps：effect方法");
  }
}
